package org.onvivals.app.ai.tts;

import cn.hutool.json.JSONObject;

import java.util.Optional;

public abstract class AbstractTtsService {

	public JSONObject config;

	/**
	 * 语音转文字
	 *
	 * @param id
	 * @param content
	 */
	public abstract Optional<String> speechSynthesizer(String id, String content);
}
